package com.hc.controller;

import com.hc.service.BbService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试循环依赖
 *
 * @author huangchao E-mail:fengquan8866@163.com
 * @version 创建时间：2024/6/9 10:42
 */
@RestController
@RequestMapping("/bb")
public class BbController {

    @Autowired
    private BbService bbService;

    @GetMapping("/aa")
    public String aa() {
        return bbService.aa();
    }
}
